

<div class="top_content" id="header" th:fragment="headerFragment" >
    <ul class="layui-nav" style="display: flex;justify-content: flex-end; background-color: #276040">

        <li class="layui-nav-item">
            <a href="javascript:;" ><img src="/static/img/svg/top_img2.svg"> <span th:text="${session.loginUser}"></span></a>
            <dl class="layui-nav-child">
                <dd><a href="/logout">安全退出</a></dd>
            </dl>
        </li>

    </ul>
</div>